package com.reggie.category.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.reggie.category.entity.Category;
import com.reggie.configuration.common.Result;
import com.reggie.configuration.common.tableList;

import java.util.List;

public interface CategoryService extends IService<Category> {

    Category getByID(Long categoryId);

    Result<tableList> selectByCondition(Integer page, Integer pageSize);

    int selectByName(String name);

    Result<String> selectByID(Long id);

    Result<List<Category>> selectByType();
}
